﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucRegister.ascx.cs"
    Inherits="Axis.Web.Views.Accounts.ucRegister" %>
<%@ Register Src="~/Views/Captcha/ucCaptcha.ascx" TagPrefix="Axis" TagName="Captcha" %>
<link href="../Accounts/Css/views.accounts.register.css" rel="stylesheet" />
<script src="../Accounts/Js/views.accounts.register.js"></script>
<div id="Form-Register" style="display: none;">
    <fieldset class="Form Form-Register" style="border: 0;">
        <legend>Vui lòng điền đầy đủ thông tin sau:</legend>
        <div class="newrow">
            <div>
                <div class="cssFloatLeft">
                    <label class="form_register_text">
                        Họ & chữ lót</label>
                </div>
                <div class="cssFloatLeft">
                    <input type="text" id="txtRegisterFirstName" required="required" />
                </div>
            </div>
            <div>
                <div class="cssFloatLeft">
                    <label class="form_register_text" style="width: 45px;">
                        Tên</label>
                </div>
                <div class="cssFloatLeft">
                    <input type="text" id="txtRegisterLastName" required="required" />
                </div>
            </div>
        </div>
        <div class="newrow">
            <div>
                <label class="form_register_text">
                    Email</label>
            </div>
            <div>
                <input type="text" id="txtRegisterEmail" required="required" email="email" />
                <span class="email-message" style="display: block;"></span>
            </div>
        </div>
        <div class="newrow">
            <div>
                <label class="form_register_text">
                    Mật khẩu</label>
            </div>
            <div>
                <input type="password" id="txtRegisterPassword" required="required" minlength="6" />
            </div>
        </div>
        <div class="newrow">
            <div>
                <label class="form_register_text">
                    Xác nhận mật khẩu</label>
            </div>
            <div>
                <input type="password" id="txtRegisterPasswordConfirm" data-equals="txtRegisterPassword" />
            </div>
        </div>
        <div class="newrow">
            <div>
                <label class="form_register_text">
                    Ngày sinh</label>
            </div>
            <div>
                <input type="text" id="txtRegisterDateOfBirth" required="required" />
            </div>
        </div>
        <div class="newrow">
            <div>
                <label class="form_register_text" style="line-height: 20px;">
                    Giới tính</label>
            </div>
            <div>
                <div class="regular-checkbox-panel" style="float: left;">
                    <input type="radio" id="rad_RegisterGenderFemale" name="rad_RegisterGender" value="1"
                        class="regular-radio" />
                    <label for="rad_RegisterGenderFemale">
                    </label>
                    <label for="rad_RegisterGenderFemale" style="font-size: 14px;">
                        Nam</label>
                </div>
                <div class="regular-checkbox-panel" style="float: left; margin-left: 20px;">
                    <input type="radio" id="rad_RegisterGenderMale" name="rad_RegisterGender" value="0"
                        class="regular-radio" checked="checked" />
                    <label for="rad_RegisterGenderMale">
                    </label>
                    <label for="rad_RegisterGenderMale" style="font-size: 14px;">
                        Nữ</label>
                </div>
                <div class="regular-checkbox-panel" style="float: left; margin-left: 10px; display: none">
                    <input type="radio" id="rad_RegisterGenderUnknow" name="rad_RegisterGender" value="-1"
                        class="regular-radio" checked="checked" />
                    <label for="rad_RegisterGenderUnknow">
                    </label>
                    <label for="rad_RegisterGenderUnknow" style="font-size: 14px;">
                        Chưa xác định</label>
                </div>
            </div>
        </div>
        <div class="newrow">
            <div>
                <label class="form_register_text">
                    Bạn biết 6sao từ nguồn nào</label>
            </div>
            <div>
                <input type="text" id="txtSource" data-equals="txtSource" />
            </div>
        </div>
        <div class="newrow">
            <div>
                <label class="form_register_text">
                    Mã xác nhận</label>
            </div>
            <div>
                <Axis:Captcha runat="server" ID="ucCaptcha" />
            </div>
        </div>
        <div class="cssClearBoth">
            <div style="margin-left: 165px;">
                <input type="checkbox" id="chK_license" class="regular-checkbox big-checkbox" required="required" />
                <label for="chK_license">
                </label>
                <label style="line-height: 25px; font-size: 14px; margin-left: 5px; cursor: pointer;
                    color: red; text-decoration: underline;" onclick="javascript:ShowDialogPolicy()">
                    Tôi đồng ý các điều khoản từ 6sao.vn</label>
            </div>
        </div>
        <div class="newrow">
            <div>
                <label class="form_register_text">
                    &nbsp;</label>
            </div>
            <div style="width: 331px; text-align: right;">
                <button type="button" id="btn_RegisterSubmit" class="cssButton">
                    Đăng ký</button>
            </div>
        </div>
    </fieldset>
</div>
